package com.quanyan.platform.service;

import com.quanyan.api.APIResponse;
import com.quanyan.club.entity.RespPlaceClubInfo;
import com.quanyan.place.entity.PlaceDubboProvider;
import com.quanyan.platform.response.GatherPlaceResponse;
import com.quanyan.user.response.RespPlaceVideoInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by jingliu on 17/3/10.
 */
public interface IplaceService {
	APIResponse<List<PlaceDubboProvider>> getColPlaces(Integer uid, Double lat, Double lng,
	                                                   Integer pageNum, Integer pageSize);

	APIResponse<List<PlaceDubboProvider>> getOrderPlaces(Integer uid, Double lat, Double lng);

	APIResponse<Map<String, List<PlaceDubboProvider>>> getMyPlaces(Integer uid, Double lat, Double lng);

	Map<Integer,List<RespPlaceClubInfo>> selectClubByPlaceIds(List<Integer> placeIds, int pageNum, int pageSize,int categoryId);

	Map<Integer,List<RespPlaceClubInfo>> selectActivityByPlaceIds(List<Integer> placeIds, int pageNum, int pageSize,int categoryId);

	Map<Integer, RespPlaceVideoInfo> getPlaceVideoInfo(List<Integer> placeIds);

	List<PlaceDubboProvider> getPlaceByTerm(List<Integer> placeIds, Double lat, Double lng);

	Map<Integer, GatherPlaceResponse> getMasterByPlaceIds(List<Integer> placeIds, Integer pageNum, Integer pageSize);
}

